import request from '@/utils/request'

// 访客数统计
export const getVisitorStatistics = (params) => {
  return request({
    method: 'get',
    url: '/visitor/total/query/visitor',
    params: params,
  })
}

// 单位访客量排名
export const getVisitorRanking = (params) => {
  return request({
    method: 'get',
    url: '/visitor/total/query/company',
    params: params,
  })
}

// 园区访客人/车数统计
export const getParkVisitorAndCar = (params) => {
  return request({
    method: 'get',
    url: '/visitor/total/query/park',
    params: params,
  })
}
